package org.wisdom.mapstruct;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.wisdom.entity.User;
import org.wisdom.request.RegisterRequest;

@Mapper
public interface UserMapStruct {
    UserMapStruct INSTANCE = Mappers.getMapper(UserMapStruct.class);

    User registerRequestToUser(RegisterRequest registerRequest);
}
